/**
 * Created with IntelliJ IDEA.
 * Description:
 * user:likai
 * Date:2022-10-15
 * Time:10:15
 */
public class ListNode {
    int val;
    ListNode next = null;

    ListNode(int val) {
        this.val = val;
    }

    @Override
    public String toString() {
        return "{"+ val +
                '}'+next;
    }
}
